public class Integercomparator implements comparator
{
        public int compare(Object o1, Object o2)
        {
                return (Integer) o1 - (Integer) o2;
        }
}
